<?php if($list){ ?>
<?php foreach($list as $v){ ?>
<?php if($v['title']=='心得分享'){ ?>
        <li class="box item">
            <span style="position: absolute; top: 20px; font-size: 20px; font-weight: 900; left: 125px; color: #c92615;">+<?php echo $v['num'] ?></span>
            <div class="list_box point1">
                <span style="width: 40px; display: block; color: rgb(255, 255, 255); font-weight: 900; font-size: 18px; height: 50px;">心得分享</span>
            </div>
        </li>
<?php }elseif($v['title']=='读书签到'){ ?>
        <li class="box item">
            <span style="position: absolute; top: 20px; font-size: 20px; font-weight: 900; left: 90px; color: yellow;">+<?php echo $v['num'] ?></span>
            <div class="list_box point2">
                <span style="width: 40px; display: block; color: #1e7b9a; font-weight: 900; font-size: 18px; height: 50px;">读书签到</span>
            </div>
        </li>
<?php }elseif($v['title']=='教师评价'){ ?>
        <li class="box item">
            <span style="position: absolute; top: 20px; font-size: 20px; font-weight: 900; left: 90px; color: yellow;">+<?php echo $v['num'] ?></span>
            <div class="list_box point3">
                <span style="width: 40px; display: block; color: rgb(255, 255, 255); font-weight: 900; font-size: 18px; height: 50px;">教师评价</span>
            </div>
        </li>

<?php }elseif($v['title']=='家长评价'){ ?>
        <li class="box item">
            <span style="position: absolute; top: 20px; font-size: 20px; font-weight: 900; left: 100px; color: #059e44;">+<?php echo $v['num'] ?></span>
            <div class="list_box point4">
                <span style="width: 40px; display: block; color: rgb(255, 255, 255); font-weight: 900; font-size: 18px; height: 50px;">家长评价</span>
            </div>
        </li>
<?php }elseif($v['title']=='同学评价'){ ?>
        <li class="box item">
            <span style="position: absolute; top: 20px; font-size: 20px; font-weight: 900; left: 100px; color: #c92615;">+<?php echo $v['num'] ?></span>
            <div class="list_box point5">
                <span style="width: 40px; display: block; color: rgb(255, 255, 255); font-weight: 900; font-size: 18px; height: 50px;">同学评价</span>
            </div>
        </li>
<?php }else{ ?>
    <li class="box item">
        <span style="position: absolute; font-size: 20px; font-weight: 900; color: rgb(201, 38, 21); left: 116px; top: 0px;"><?php if($v['type']==1){ ?>+<?php }else{ ?>-<?php } ?><?php echo $v['num'] ?></span>
        <div class="list_box point6">
            <span style="display: block; font-weight: 900; font-size: 18px; height: 50px; width: 75px; color: rgb(201, 38, 21);"><?php echo $v['title'] ?></span>
        </div>
    </li>
<?php } ?>
<?php } ?>
<?php } ?>